<!--<?php
require_once template('header'); 
print <<<EOT
<!--右边开始-->
<div id="right">
	<table class="clst" align="center" cellpadding="0" cellspacing="1">
		<tr>
			<td class="tleft">投票管理</td>
			<td class="tright"><a href="admincp.php?module=$module&action=add" class="but1">添加投票</a></td>
		</tr>
	</table>
	<table cellpadding="0" cellspacing="1" class="list">
		<tr>
		    <th width="8%">NO.</th>
			<th width="33%">问题</th>
			<th width="25%">使用日期</th>
			<th width="16%">登记日期</th>
			<th width="18%">$lang[operation]</th>
		</tr>

<!--
EOT;
foreach ($rt_poll as $val){
print <<<EOT
-->		
		<tr id="r$val[uid]">
		   <td>$val[uid]</td>
			<td>$val[poll_question]</td>
			<td>
			$val[start_date] ~ $val[end_date]
		   </td>
			<td>$val[register_date]</td>
			<td><a href="$val[edit]">$lang[laws]</a> | <a href="javascript:;" onclick="remove('$val[uid]','$val[del]');">$lang[remove]</a></td>
		</tr>
<!--
EOT;
} print <<<EOT
-->	
		
	</table>	
	<div id="page"><span>$page_list</span></div>	
</div>
<!--
EOT;
?>-->